switch: Remove in_switch flag
authorTimm Bäder <mail@baedert.org>
Sat, 17 Jun 2017 12:18:14 +0000 (14:18 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 20 Jul 2017 01:27:14 +0000 (21:27 -0400)
commit24abbac114f80788a875ff1688faee4368fc92ea
tree7d345a3576e398dc638fd7fa827983a9941bf899
parent63ba8fa355a1e83bc2a21970c662ca80935eaf9c
switch: Remove in_switch flag

It's pretty simple and less code to just check whether the gesture
coords are inside the widget at the one place where we actually used the
flag.
gtk/gtkswitch.c